﻿using System;using ERP_RORZE_SYSTEM;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_DLL.Product.database
{
    public class ClsMOOptionTable
    {
        #region Members
        protected int iD;
        protected string mONo;
        protected string partID;
        protected int mOQty;
        protected DateTime deadline;
        protected string machineID;
        protected string optionID;
        protected bool lastOption;
        protected string jigID;
        protected double proTime;
        protected bool finished;
        protected DateTime finishdate;
        protected string shift;
        protected string note;
        #endregion
        #region Public Properties

        /// <summary>
        /// Property relating to database column ID(int,not null)
        /// </summary>
        public int ID
        {
            get { return iD; }
            set { iD = value; }
        }

        /// <summary>
        /// Property relating to database column MONo(nvarchar(50),null)
        /// </summary>
        public string MONo
        {
            get { return mONo; }
            set { mONo = value; }
        }

        /// <summary>
        /// Property relating to database column PartID(nvarchar(50),null)
        /// </summary>
        public string PartID
        {
            get { return partID; }
            set { partID = value; }
        }

        /// <summary>
        /// Property relating to database column MOQty(int,null)
        /// </summary>
        public int MOQty
        {
            get { return mOQty; }
            set { mOQty = value; }
        }

        /// <summary>
        /// Property relating to database column Deadline(datetime,null)
        /// </summary>
        public DateTime Deadline
        {
            get { return deadline; }
            set { deadline = value; }
        }

        /// <summary>
        /// Property relating to database column MachineID(nvarchar(50),null)
        /// </summary>
        public string MachineID
        {
            get { return machineID; }
            set { machineID = value; }
        }

        /// <summary>
        /// Property relating to database column OptionID(nvarchar(50),null)
        /// </summary>
        public string OptionID
        {
            get { return optionID; }
            set { optionID = value; }
        }

        /// <summary>
        /// Property relating to database column LastOption(bit,null)
        /// </summary>
        public bool LastOption
        {
            get { return lastOption; }
            set { lastOption = value; }
        }

        /// <summary>
        /// Property relating to database column JigID(nvarchar(50),null)
        /// </summary>
        public string JigID
        {
            get { return jigID; }
            set { jigID = value; }
        }

        /// <summary>
        /// Property relating to database column ProTime(float,null)
        /// </summary>
        public double ProTime
        {
            get { return proTime; }
            set { proTime = value; }
        }

        /// <summary>
        /// Property relating to database column Finished(bit,null)
        /// </summary>
        public bool Finished
        {
            get { return finished; }
            set { finished = value; }
        }

        /// <summary>
        /// Property relating to database column Finishdate(datetime,null)
        /// </summary>
        public DateTime Finishdate
        {
            get { return finishdate; }
            set { finishdate = value; }
        }

        /// <summary>
        /// Property relating to database column Shift(nvarchar(50),null)
        /// </summary>
        public string Shift
        {
            get { return shift; }
            set { shift = value; }
        }

        /// <summary>
        /// Property relating to database column Note(nvarchar(250),null)
        /// </summary>
        public string Note
        {
            get { return note; }
            set { note = value; }
        }
        #endregion

    }
}
